/*
 *  XmlParser.h
 *
 *
 *  Created by Aleem Haji on June 11, 2011.
 *  Copyright 2011. All rights reserved.
 *
 */

#ifndef XMLPARSER_H
#define XMLPARSER_H

#include <QFile>

class XmlParser
{
public:
    XmlParser(const QString& fileName);

protected:

    void loadObject(const QString& object);
    void closeObject(const QString& object);
    QString moveToTag(const QString& tag);
    QString loadAttribute(const QString& attribute);

    void ignoreNextLine();

private:

    QFile m_file;
};

#endif // XMLPARSER_H
